LocalVideoStreamState enum Null safety
本地视频流状态,及在 LocalVideoStreamError 中对应的错误码
Constants
- encoding → const LocalVideoStreamState
-
本地视频采集后,首帧编码成功
对应错误码
okconst LocalVideoStreamState(2) - failed → const LocalVideoStreamState
-
本地视频启动失败
- 本地视频采集设备启动失败,对应错误码
failure - 检测到没有视频采集设备权限,对应错误码
没有权限启动本地视频采集设备 - 视频编码失败,对应错误码
本地视频编码失败
const LocalVideoStreamState(3) - 本地视频采集设备启动失败,对应错误码
- recording → const LocalVideoStreamState
-
本地视频采集设备启动成功
对应错误码
okconst LocalVideoStreamState(1) - stopped → const LocalVideoStreamState
-
本地视频采集停止状态(默认初始状态)
对应错误码
okconst LocalVideoStreamState(0) -
values
→ const List<
LocalVideoStreamState> -
A constant List of the values in this enum, in order of their declaration.
const List<LocalVideoStreamState>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited